package cn.yunyichina.provider.base.dao;

import cn.yunyichina.provider.iface.entity.base.OrgSettingVoResponse;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import cn.yunyichina.provider.framework.annotation.MyBatisRepository;
import cn.yunyichina.provider.framework.mvc.dao.BaseDao;
import cn.yunyichina.provider.iface.entity.base.OrgSetting;

import java.util.List;

/**
*
* @Author auto_gen_by_tool
* @CreatedTime 2016-11-07 10:32:34
*/
@Repository
@MyBatisRepository
public interface OrgSettingDao extends BaseDao<OrgSetting>{

    /**
     * 根据his医院编号和分院编码查询配置信息列表
     * @param hospitalCode
     * @param branchCode
     * @return
     */
    public List<OrgSettingVoResponse> getOrgSettingList(@Param("branchCode") String branchCode, @Param("hospitalCode") String hospitalCode);

    /**
     * 根据his医院编号、分院编码和方法名查询配置信息列表
     * @param hospitalCode
     * @param branchCode
     * @return
     */
    public List<OrgSettingVoResponse> getOrgSettingListByMethodCode(@Param("branchCode") String branchCode, @Param("hospitalCode") String hospitalCode, @Param("methodCode") String methodCode);
}